<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>修改供应商</title>

<link rel="stylesheet" type="text/css" href="<?php echo asset_url('js/bootstrap/css/bootstrap.min.css');?>" />
<link rel="stylesheet" type="text/css" href="<?php echo asset_url('js/bootstrap/css/bootstrap-responsive.min.css');?>" />
<script type="text/javascript" src="<?php echo asset_url('js/jquery/jquery.js');?>"></script>

<link rel="stylesheet" type="text/css" href="<?php echo theme_url('css/common.css');?>" />
<script type="text/javascript" src="<?php echo theme_url('js/common.js');?>"></script>

<script type="text/javascript">
	$(document).ready(function(){
	});
</script>

</head>
<body>

	<?php echo widget('admin/header');?>

	<div id="wrap" class="container">

		<form class="form-horizontal" action="__SELF__" method="post" enctype="multipart/form-data">

			<input type="hidden" name="id" value="<?php echo $data['id'];?>" />

			<div class="btn-toolbar">
				<div class="btn-group">
					<a href="<?php echo $this->session->get('back');?>" class="btn">返回</a>
				</div>
				<div class="btn-group">
					<button type="submit" class="btn btn-primary">提交</button>
				</div>
				<div class="btn-group">
					<button type="reset" class="btn">取消</button>
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="name">名称：</label>
				<div class="controls">
					<input type="text" name="name" value="<?php echo $data['name'];?>" class="span4" id="name">
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="contacter">联系人：</label>
				<div class="controls">
					<input type="text" name="contacter" value="<?php echo $data['contacter'];?>" class="span4" id="contacter">
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="phone">手机：</label>
				<div class="controls">
					<input type="text" name="phone" value="<?php echo $data['phone'];?>" class="span4" id="phone">
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="tel">电话：</label>
				<div class="controls">
					<input type="text" name="tel" value="<?php echo $data['tel'];?>" class="span4" id="tel">
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="email">邮箱：</label>
				<div class="controls">
					<input type="text" name="email" value="<?php echo $data['email'];?>" class="span4" id="email">
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="address">地址：</label>
				<div class="controls">
					<input type="text" name="address" value="<?php echo $data['address'];?>" class="span4" id="address">
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="zip">邮编：</label>
				<div class="controls">
					<input type="text" name="zip" value="<?php echo $data['zip'];?>" class="span4" id="zip">
				</div>
			</div>

			<div class="control-group">
				<label class="control-label" for="remark">备注：</label>
				<div class="controls">
					<textarea name="remark" class="span4" rows="4" id="remark"><?php echo $data['remark'];?></textarea>
				</div>
			</div>

			<div class="form-actions">
				<button type="submit" class="btn btn-primary">提交</button>
				<button type="reset" class="btn">取消</button>
			</div>
			
		</form>

	</div>

	<?php echo widget('admin/footer');?>

</body>
</html>